#!/usr/bin/python
# -*- coding: utf-8 -*-
import os

path='/mnt/gitworkspace'
os.chdir(path)
gitlist=os.listdir(path)
print(gitlist)

for gitpath in gitlist:
	if os.path.isdir(gitpath):
		os.chdir(gitpath)
		print(os.getcwd())
		os.chdir('..')
